﻿@model HXDNB.DAL.WebSetting
<div class="widget-content">
    <div class="widget-box">
        <div class="widget-title">
            <span class="icon"><i class="icon-align-justify"></i></span>
            <h5>
                编辑网站配置信息</h5>
        </div>
        <div class="widget-content nopadding">
            @if (IsPost == false && Request["result"] != null)
            {
                if (Request["result"] == "Y")
                {
                <div class="alert alert-success" style="margin-bottom: 0px;">
                    <a class="close" data-dismiss="alert" href="#">×</a>
                    <h4 class="alert-heading">
                        保存成功!</h4>
                    网站配置信息已经保存成功.
                </div>
                }
                else
                {
                <div class="alert alert-error" style="margin-bottom: 0px;">
                    <a class="close" data-dismiss="alert" href="#">×</a>
                    <h4 class="alert-heading">
                        保存失败!</h4>
                    如确认您的数据填写无误,请联系管理员或查看错误日志.
                </div>
                }
            }
            <form action="@Url.Action("Info", "Customer", new { id = Request.QueryString["id"] })" method="post" class="form-horizontal" enctype="multipart/form-data" >
            <div class="widget-content tab-content">
                <div id="tab1" class="tab-pane active">
                    <div class="control-group">
                        <label class="control-label">
                            网站名称:</label>
                        <div class="controls">
                            @Html.TextBoxFor(i => i.WebName, new { @class = "span6", q = "q", maxL = 50 })
                            <span class="help-block">请输入网站的名称 [最多输入50字符]</span>
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label">
                            韩国汇率:</label>
                        <div class="controls">
                            @Html.TextBoxFor(i => i.KoreaRate, new { @class = "span6", q = "q", @money = "money" })
                            <span class="help-block">请输入当前韩国的汇率,以便系统转换金额使用</span>
                        </div>
                    </div>
                </div>
                <div class="form-actions">
                    <button id="Save" type="submit" class="btn btn-success" onclick="return checkfrom()"
                        style="width: 100px">
                        修改
                    </button>
                    <a href="@Url.Action("List", "Customer")" class="btn btn-danger" style="width: 100px">
                        返 回</a>
                </div>
            </div>
            </form>
        </div>
    </div>
</div>
